package com.grademaster.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.grademaster.entity.StudentInfo;
import com.grademaster.vo.StudentVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【student_info(学生信息表)】的数据库操作Mapper
* @createDate 2024-06-26 16:19:09
* @Entity generator.domain.StudentInfo
*/
@Mapper
public interface StudentInfoMapper extends BaseMapper<StudentInfo> {
    /**
     * 根据条件查询学生信息
     * @param className
     * @param username
     * @param name
     * @param page
     * @param pageSize
     * @return
     */
    List<StudentVO> selectStudentClassInfoByCondition(
            String className,
            String username,
            String name,
            int page,
            int pageSize
    );

    /**
     * 根据条件查询学生信息数量
     * @param className
     * @param username
     * @param name
     * @return
     */
    int countStudentClassInfoByCondition(
            String className,
            String username,
            String name
    );

}




